<template>
	<view>
		<u-form-item label="上传图片（选填）" prop="images" label-position="top">
			<js-uploadfile v-model="model.dataMap" :biz-key="model.id" biz-type="img"></js-uploadfile>
		    <button type="default" @click="get">获取ID</button>
		</u-form-item>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				model:{}
			}
		},
		methods: {
			get(){
				console.log(JSON.stringify(this.model.dataMap))
			}
		}
	}
</script>

<style>

</style>
